import 'dart:convert';

class YLBase64Encrypt {
  static String encodeBase64(String data) {
    final content = utf8.encode(data);
    return base64Encode(content);
  }

  static decodeBase64(String data) {
    return String.fromCharCodes(base64Decode(data));
  }
}
